package novel.mzx.com.adapter;

import android.content.Context;

import com.bumptech.glide.Glide;
import com.zhy.adapter.recyclerview.CommonAdapter;
import com.zhy.adapter.recyclerview.base.ViewHolder;

import java.util.List;

import novel.mzx.com.R;
import novel.mzx.com.bean.LaboratoryBean;
import novel.mzx.com.http.Api;
import novel.mzx.com.views.RoundImageView;


public class LaboratoryAdapter extends CommonAdapter<LaboratoryBean.Data> {
    Context mContext;

    public LaboratoryAdapter(Context context, int layoutId, List<LaboratoryBean.Data> datas) {
        super(context, layoutId, datas);

        mContext = context;

    }

    @Override
    protected void convert(ViewHolder holder, final LaboratoryBean.Data s, int position) {
        holder.setText(R.id.tv_address,s.getLaboratoryAddress());
        holder.setText(R.id.tv_01,s.getLaboratoryName());
        holder.setText(R.id.tv_sure,s.getLaboratoryTeacher());
    }

}
